package com.nbot.server.service;

import com.nbot.server.domain.KeyParameterMonthDO;

import java.util.List;
import java.util.Map;

/**
 * 重要参数每月归档汇总
 *
 * @author nbot
 * @email nbot@163.com
 * @date 2018-06-21 09:36:03
 */
public interface KeyParameterMonthService {

    KeyParameterMonthDO get(Long autoId);

    List<KeyParameterMonthDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(KeyParameterMonthDO keyParameterMonth);

    int update(KeyParameterMonthDO keyParameterMonth);

    int remove(Long autoId);

    int batchRemove(Long[] autoIds);

    /**
     * 生成归档数据并保存到数据库中
     *
     *
     */
    void generateLog(String lastMonth);
}
